package org.mikhaylov.cp.service.response;

import java.io.Serializable;

public class Response implements Serializable{

	private static final long serialVersionUID = 8071233702973918273L;

	private int responseType;
	
	public void setType(ResponseType responseType) {
		this.responseType = responseType.ordinal();
	}
	
	public ResponseType getType() {
		return ResponseType.values()[responseType];
	}

	private String meta;

	public String getMeta() {
		return meta;
	}

	public void setMeta(String meta) {
		this.meta = meta;
	}

	public Response() {
	}
}
